package com.trkj.service;

import com.trkj.entity.DepartmentTransfer;
import com.trkj.entity.Dept;
import com.trkj.entity.Employee;
import com.trkj.entity.EmployeeMovement;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
import java.util.Map;

public interface EmpService {
    public int addEmployee(Employee emp);
    public int updateEmployee(Employee emp);
    public int addEmployeeMovement(EmployeeMovement emp);
    public int addDept(DepartmentTransfer dept);
    public int updateEmployee2(Employee emp);
    public List<Map<String,Object>> selectYG(int id);
    public List<Map<String,Object>> countYG();
    public List<Map<String,Object>> countYGR();
    public int insertDept(Dept dept);
    public int deleteYG(int id);
    public int updateGz();

}